﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="artistselect.aspx.vb" Inherits="_3dTalk.artistselect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <p>
    <br />
</p>
<p>
    Select an artist to see their list of showreels:</p>
<p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="ID">
        <Columns>
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Firstname" HeaderText="Firstname" SortExpression="Firstname" />
            <asp:BoundField DataField="Surname" HeaderText="Surname" SortExpression="Surname" />
            <asp:BoundField DataField="Nickname" HeaderText="Nickname" SortExpression="Nickname" />
            <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" SortExpression="ID" Visible="False" />
            <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="showreelartistlist.aspx?ID={0}" HeaderText="Showreel Detail" Text="Select" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:3dtalkConnectionString %>" ProviderName="<%$ ConnectionStrings:3dtalkConnectionString.ProviderName %>" SelectCommand="SELECT [Title], [Firstname], [Surname], [Nickname], [ID] FROM [Artists] ORDER BY [Surname], [Nickname]"></asp:SqlDataSource>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>
